<template>
  <div>
    <teleport to="#modal">
      <div class="themostbig">
        <div id="center">
          <h2>JSPang.com</h2>
        </div>
      </div>
    </teleport>
  </div>
</template>

<script lang="ts">
export default {};
</script>

<style>
#center {
  width: 200px;
  height: 200px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  position: absolute;
  border: 2px solid #ececec;
}
.themostbig {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
}
</style>